/* ========================================
   CONTACT PAGE STYLES
   ======================================== */

/* ========================================
   BASE STYLES
   ======================================== */
   

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: linear-gradient(135deg, #03071E 0%, #0A0A0A 100%);
    font-family: 'Pixeloid', sans-serif;
    min-height: 100vh;
}

.navbar {
    border-bottom: 2px solid var(--engineering-orange);
    padding: 1rem 0;
}

/* ========================================
   HEADINGS
   ======================================== */

h1 {
    color: var(--selective-yellow);
    font-family: 'Agency', sans-serif;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 3rem 0;
    text-shadow: 3px 3px var(--rosewood);
    position: relative;
    transition: all 0.3s ease-in-out;
}

h1:hover {
    
    text-shadow: 5px 5px var(--rosewood);
    cursor: pointer;
}

h1:hover .fas.fa-headset {
    animation: bounce 0.8s infinite;
}

h1::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: var(--engineering-orange);
    margin: 1rem auto;
}

/* ========================================
   CONTACT CONTAINER
   ======================================== */

.contact-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* ========================================
   CONTACT LEFT SECTION
   ======================================== */

.contact-left {
    background: linear-gradient(145deg, #1A1A1A, #0A0A0A);
    border: 2px solid var(--engineering-orange);
    border-radius: 8px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(216, 0, 0, 0.2);
}

.contact-left::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(247, 147, 30, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(247, 147, 30, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
}

.contact-left-title h2 {
    color: var(--selective-yellow);
    font-family: 'Agency', sans-serif;
    font-size: 2rem;
    border-bottom: 2px solid var(--engineering-orange);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* ========================================
   FORM INPUTS
   ======================================== */

.input-group {
    position: relative;
    margin-bottom: 2rem;
}

.contact-inputs {
    width: 100%;
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid var(--engineering-orange) !important;
    color: var(--selective-yellow) !important;
    font-size: 1.1rem;
    padding: 1rem 1rem 1rem 45px !important;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-family: 'Pixeloid', sans-serif;
    position: relative;
    background-image: url('data:image/svg+xml,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><rect x="0" y="0" width="100" height="100" fill="none" stroke="%23F7931E" stroke-width="2" stroke-dasharray="4 4"/></svg>');
    background-size: 20px;
}

.contact-inputs:hover {
    animation: inputGlow 1.5s infinite;
}

.contact-inputs:focus {
    box-shadow: 0 0 25px rgba(216, 0, 0, 0.3);
    transform: scale(1.02);
    outline: none;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--persimmon);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 2;
}

.contact-inputs:focus ~ .input-icon {
    color: var(--selective-yellow);
    transform: translateY(-50%) scale(1.2);
}

textarea.contact-inputs {
    height: 150px;
    resize: vertical;
    padding-top: 1rem !important;
}

/* ========================================
   SUBMIT BUTTON
   ======================================== */

button[type="submit"] {
    background: linear-gradient(135deg, var(--engineering-orange), var(--persimmon));
    color: var(--rich-black) !important;
    font-family: 'Agency', sans-serif;
    font-size: 1.2rem;
    padding: 1rem 2rem;
    border: none !important;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    width: 100%;
    position: relative;
    overflow: hidden;
}

button[type="submit"]:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px var(--engineering-orange);
}

button[type="submit"]::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
        transparent 25%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 75%);
    transform: rotate(45deg);
    animation: buttonShine 3s infinite;
}

/* ========================================
   CONTACT RIGHT SECTION
   ======================================== */

.contact-right {
    background: linear-gradient(145deg, var(--rosewood), #1A1A1A);
    border: 2px solid var(--engineering-orange);
    border-radius: 8px;
    padding: 2rem;
    color: var(--selective-yellow);
    position: relative;
    box-shadow: 0 0 30px rgba(216, 0, 0, 0.2);
}

.contact-right h3 {
    color: var(--selective-yellow);
    font-family: 'Agency', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--engineering-orange);
    padding-bottom: 1rem;
    text-align: center;
}

.contact-right p {
    font-size: 1.1rem;
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.contact-right p:hover {
    background: rgba(106, 4, 15, 0.3);
    transform: translateX(10px);
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes bounce {
    0%, 100% { 
        transform: translateY(0); 
    }
    50% { 
        transform: translateY(-10px); 
    }
}

@keyframes inputGlow {
    0% { 
        box-shadow: 0 0 10px rgba(216, 0, 0, 0.3); 
    }
    50% { 
        box-shadow: 0 0 20px rgba(216, 0, 0, 0.5); 
    }
    100% { 
        box-shadow: 0 0 10px rgba(216, 0, 0, 0.3); 
    }
}

@keyframes buttonShine {
    0% { 
        transform: translateX(-100%) rotate(45deg); 
    }
    100% { 
        transform: translateX(100%) rotate(45deg); 
    }
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (min-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .contact-container {
        padding: 1rem;
    }
    
    h1 {
        font-size: 1.75rem;
        margin: 2rem 0;
    }
    
    .contact-left, .contact-right {
        padding: 1.5rem;
    }
    
    .contact-inputs {
        font-size: 1rem;
        padding-left: 40px !important;
    }
    
    .input-icon {
        font-size: 1rem;
    }
}
